package beans;

import java.util.Date;

public class BaseResourceState {
	private String hostName;
	private String status;
	private String r15s;
	private String r1m;
	private String r15m;
	private String ut;
	private String pg;
	private String ls;
	private String it;
	private String tmp;
	private String swp;
	private String mem;
	private String type;
	private Date createTime;

	
	@Override
	public String toString() {
		return "主机名称：" + hostName + ", 运行状态：" + status + ",CPU利用率：" + ut + ", 登陆会话数量：" 
	              + ls + ", 空闲时间（分钟）：" + it + ", 可用内存：" + mem ;
	}
	public String getHostName() {
		return hostName;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getR15s() {
		return r15s;
	}
	public void setR15s(String r15s) {
		this.r15s = r15s;
	}
	public String getR1m() {
		return r1m;
	}
	public void setR1m(String r1m) {
		this.r1m = r1m;
	}
	public String getR15m() {
		return r15m;
	}
	public void setR15m(String r15m) {
		this.r15m = r15m;
	}
	public String getUt() {
		return ut;
	}
	public void setUt(String ut) {
		this.ut = ut;
	}
	public String getPg() {
		return pg;
	}
	public void setPg(String pg) {
		this.pg = pg;
	}
	public String getLs() {
		return ls;
	}
	public void setLs(String ls) {
		this.ls = ls;
	}
	public String getIt() {
		return it;
	}
	public void setIt(String it) {
		this.it = it;
	}
	public String getTmp() {
		return tmp;
	}
	public void setTmp(String tmp) {
		this.tmp = tmp;
	}
	public String getSwp() {
		return swp;
	}
	public void setSwp(String swp) {
		this.swp = swp;
	}
	public String getMem() {
		return mem;
	}
	public void setMem(String mem) {
		this.mem = mem;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
